package com.jiacl.service;

import com.jiacl.entity.JiaclArea;
import com.jiacl.entity.core.Result;

/**
 * Created by XiaoWei on 2017/9/1.
 */
public interface AreaService {

    /**
     * 获取单个地址
     * @param id
     * @return
     */
    public Result getArea(Long id);

    /**
     * 根据父id获取地址
     * @param parentId
     * @return
     */
    public Result getAreaByParent(Long parentId);
}
